<li>
  <%= image_tag banner.img %>
  <p><%= link_to '', [:cpanel, banner], method: :delete, data: { confirm: '确认删除' },class:'icon-trash' %></p>
  
</li>
